You are here: AgileShapes > Microsoft SPS > Upload Files

Upload Files

This AgileShape can be used to automatically upload one or more files from the local file system (of the AgilePoint Server machine) to a SharePoint library.

 

NOTE: This AgileShape is a specialized sub-type of the AgilePart AgileShape. Refer to the documentation for the AgilePart AgileShape for additional information about the properties and behavior that this sub-type inherits from the AgilePart AgileShape.

 

Design-Time Properties

NOTE: Since this AgileShape is a specialized sub-type of the AgilePart AgileShape, all of the standard properties supported by the AgilePart AgileShape are also supported by this AgileShape. Since they are already documented elsewhere, the standard AgilePart properties are not documented in this section. Refer to the documentation for the AgilePart AgileShape for information about the standard AgilePart properties. Additional design-time properties (other than the standard AgilePart properties) that are specific to this AgileShape are documented below.

 

DestinationURL

This property specifies the URL of the SharePoint document library (or subfolder) the file(s) should be uploaded to.

 

E.g. http://MachineName:Port/sites/SiteName/DocumentLibraryName

 

-or-

 

http://MachineName:Port/sites/SiteName/DocumentLibraryName/FolderName

 

Filter

Default value: *.*

This property specifies the filename (or a filename filter containing wildcards) that will be used to determine which file(s) are uploaded from the source location specified by the LocalPath property. This property is very similar to the Filter property of the Download Files AgileShape. Refer to the Download Files AgileShape’s documentation for additional information.

 

LocalPath

This property specifies the location of the local file system folder that contains the file(s) that should be uploaded. The value of this property should be a relative path that specifies the location of the folder relative to the AgilePoint Server application’s root directory. This property is very similar to the LocalPath property of the Download Files AgileShape. Refer to the Download Files AgileShape’s documentation for additional information.

 

OverWriteFile

Default value: False

This property specifies whether the AgileShape should overwrite the existing file(s) if they already exist at the specified destination. This property can be set to the following specific values:

 

Recursive

Default value: False

This property specifies whether the AgileShape should upload files contained in any subfolders located in the folder specified by the LocalPath property. This property can be set to the following specific values: